<template>
  <div class="active">
    <div @click="goUrl('生而为人')">生而为人</div>
    <div @click="goUrl('去码头整点薯条')">去码头整点薯条</div>
    <TabBar actIndex="1"></TabBar>
  </div>
</template>
<script>
import TabBar from "../../compoment/tebBar.vue";
export default {
  components: {
    TabBar,
  },
  data() {
    return {};
  },
  async mounted() {},
  methods: {
    goUrl(title) {
      wx.navigateTo({
        url: `/pages/text/text?title=${title}`,
      });
    },
  },
};
</script>
<style lang="less">
@import url("./style/index.less");
</style>
